inDefaultRoute and outDefaultRoute are mutually exclusive — set at most one to true.
Inside NATs (insideNats) rewrite traffic arriving from the VPN before it enters the local network. Outside NATs (outsideNats) rewrite traffic leaving the local network before it enters the VPN.
After creating or updating a VPN interface, push the cluster config for the change to take effect.
Security
JWTAuthorizer
- Mock serverhttps://apidocs.trustgrid.io/_mock/v2/cluster/{clusterFQDN}/vpn/{networkName}/interface/{interfaceName}
- https://api.trustgrid.iohttps://api.trustgrid.io/v2/cluster/{clusterFQDN}/vpn/{networkName}/interface/{interfaceName}
curl -i -X PUT \
'https://apidocs.trustgrid.io/_mock/v2/cluster/{clusterFQDN}/vpn/{networkName}/interface/{interfaceName}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"inDefaultRoute": true,
"insideNats": [
{
"description": "string",
"localCidr": "string",
"networkCidr": "string"
}
],
"interfaceName": "string",
"outDefaultRoute": true,
"outsideNats": [
{
"description": "string",
"localCidr": "string",
"networkCidr": "string",
"networkGroup": "string",
"proxyArp": true
}
]
}'